//
//  PywPayPwdSetProblemViewCell.h
//  PywSdk
//
//  Created by smallwave on 16/8/17.
//  Copyright © 2016年 zero. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PywPayPwdSetProblemViewCell;
@protocol PywPayPwdSetProblemViewCellDelegate <NSObject>
@optional
/**
 *  隐藏DatePicker
 */
- (void)hiddenDatePicker;
- (void)endEditing;
@end

@interface PywPayPwdSetProblemViewCell : UITableViewCell
@property (nonatomic, weak) id<PywPayPwdSetProblemViewCellDelegate> delegate;

@property (nonatomic, copy) NSString    *problem;       // 问题
@property (nonatomic, copy) NSString    *answer;        // 答案
@property (nonatomic, copy) NSString    *placeholder;   // 占位字符
/**
 *  设置日期 YES：请选择日期; NO：请输入答案
 */
@property (nonatomic, assign) BOOL      answerIsDatePicker;

/**
 *  移除DatePicker
 */
- (void)removeDatePicker;

@end
